package org.dce.screencapturer.objects;

import java.beans.PropertyDescriptor;

public class ShapeObjectBeanInfo extends DrawingObjectBeanInfo {

	public ShapeObjectBeanInfo(){
		super(ShapeObject.class);
	}
	
	@Override
	public PropertyDescriptor[] getPropertyDescriptors() {
		
		try {
			return add(super.getPropertyDescriptors(),
				createProperty("lineAttributes", "Line Attributes"),
				createProperty("fillAttributes", "Fill Attributes"),
				createProperty("textAttributes", "Text Attributes")
			);
		}catch (Exception ex){
			throw new RuntimeException(ex);
		}
	}

}
